package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * fa_article 文章表
 */
public class Article extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文章ID */
    private Long Id;

    /** 标题 */
    private String title;

    /** 内容 */
    private String content;

    /** 类型 */
    private Long type;

    /** 资源 */
    private String resource;

    /** 创建时间 */
    private Long createTimeL;

    /** 更新时间 */
    private Long updateTimeL;

    public String getTitle()
    {
        return title;
    }

    public String getContent()
    {
        return content;
    }

    public String getResource()
    {
        return resource;
    }

    public Long getId()
    {
        return Id;
    }

    public Long getCreateTimeL()
    {
        return createTimeL;
    }

    public Long getUpdateTimeL()
    {
        return updateTimeL;
    }

    public void setId(Long Id)
    {
        this.Id = Id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", title)
            .append("content", content)
            .append("type", type)
            .append("resource", resource)
            .append("createTime", createTimeL)
            .append("updateTime", updateTimeL)
            .toString();
    }
}
